package com.tang.pojo;
public class Order {
    public Order(){

    }
    public Order(Integer id, double price, String createTime, int status, int userId) {
        this.id = id;
        this.price = price;
        this.createTime = createTime;
        this.status = status;
        this.userId = userId;
    }
    private Integer id;
    private double price;
    private String createTime;
    private int status;
    private Integer userId;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    public String getCreateTime() {
        return createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public int getStatus() {
        return status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public int getUserId() {
        return userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", price=" + price +
                ", createTime='" + createTime + '\'' +
                ", status=" + status +
                ", userId=" + userId +
                '}';
    }

}
